﻿using ProTrack.Utility;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace ProTrack.Dto
{
    /// <summary>
    /// 生产领料明细Dto
    /// </summary>
    public class OrderProductPickItemDto
    {
        /// <summary>
        /// 生产领料单明细id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 领料订单Id
        /// </summary>
        public long OrderProductPickId { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public long ItemId { get; set; }

        /// <summary>
        /// 领料数量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = StringHelper.GetTimeNow();

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }

        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ItemCode { get; set; }

        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 产品型号
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        /// 产品规格
        /// </summary>
        public string Spec { get; set; }

        /// <summary>
        /// 产品品类
        /// </summary>
        public string Kind { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitOfMeasure { get; set; }

        /// <summary>
        /// 当前库存数量
        /// </summary>
        public int CurrCount { get; set; }

        /// <summary>
        /// 领料仓库
        /// </summary>
        public long WareHouseId { get; set; }

    }
}